<?php

class act extends Module
{
    function __construct()
    {
    }
    
    function convert()
    {
        $url = isset( $_GET['url'] ) ? trim( $_GET['url'] ) : '';
        $str = file_get_contents( $url );
        echo "<html><pre>".print_r( json_decode( $str, true ), true )."</pre><html>";
    }
    
    function display()
    {
        parent::smartyOut('act', 0);
    }
}
